package asapIs134CK.womi.client.games.logoGame.froggitTheFrog;

import asapIs134CK.womi.client.games.GameWidgetsFactory;

public class FroggitWidgetsFactory extends GameWidgetsFactory {

	private FroggitWorld _world;
	public FroggitWidgetsFactory(){
		_world = new FroggitWorld();
	}
	public FroggitWidgetsFactory(FroggitWorld world){
		_world = world;
	}

	@Override
	public FroggitGameWigdet createGameWidget() {
		return new FroggitGameWigdet(_world);
	}

	@Override
	public FroggitThumbnail createThumbnailWidget() {
		return new FroggitThumbnail(_world);
	}

}
